import { requestClient } from '#/api/request';

/**
 * 分页查询
 */
export async function loadOrganizationDepartmentPageApi(param: any) {
  return requestClient.post<any>('organization/department/page', param);
}

/**
 * 保存
 */
export async function saveOrganizationDepartmentApi(param: any) {
  return requestClient.post<any>('organization/department/save', param);
}

/**
 * 删除
 */
export async function removeOrganizationDepartmentApi(param: any) {
  return requestClient.post<any>(
    'organization/department/remove-by-ids',
    param,
  );
}
